var querystring = require("querystring");
var obj = {
    name:"moyu",
    age:12,
    gender:"remale"
}
//转换成JSON字符串
console.log(obj);
console.log(JSON.stringify(obj));
//转换成查询字符串
console.log(obj);
console.log(querystring.stringify(obj));
